package com.vito.oa.act.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.vito.act.model.ActExTableColsModel;
import com.vito.base.model.MyHashMap;

public interface OaActExMapper {
	List<Map<String,Object>> queryProcessNodeList(@Param("processKey")String processKey);
	List<Map<String,Object>> queryDefaultProcessAuditorList(@Param("processKey")String processKey,@Param("companyId")String companyId);
	List<Map<String,Object>> queryBranchProcessAuditorList(@Param("branchId")String branchId);
	List<MyHashMap<String,Object>> queryBranchList(@Param("processKey")String processKey,@Param("companyId")String companyId);
	/**
	 * 根据职务id获取该职务下的所以人员
	 * @param roleId 职务id
	 * @return
	 */
	List<MyHashMap<String,String>> queryUserByRoleId(@Param("roleId")String roleId);
	
	//获取序列编号
	String queryCodeSeq(@Param("type")String type,@Param("format")String format,@Param("prefix")String prefix,@Param("suffix")String suffix);
	ActExTableColsModel queryTablePK(@Param("tableKey")String tableKey);
}
